﻿<%@ Page Language="VB" AutoEventWireup="false" CodeFile="publish.aspx.vb" Inherits="passing_publish" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
    </div>
        <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:Management_Info_SysConnectionString %>" DeleteCommand="DELETE FROM [app_log] WHERE [logID] = @logID" InsertCommand="INSERT INTO [app_log] ([app_name], [app_message], [app_status], [app_status_code], [return_], [timestamp]) VALUES (@app_name, @app_message, @app_status, @app_status_code, @return_, @timestamp)" SelectCommand="SELECT * FROM [app_log]" UpdateCommand="UPDATE [app_log] SET [app_name] = @app_name, [app_message] = @app_message, [app_status] = @app_status, [app_status_code] = @app_status_code, [return_] = @return_, [timestamp] = @timestamp WHERE [logID] = @logID">
            <DeleteParameters>
                <asp:Parameter Name="logID" Type="Int64" />
            </DeleteParameters>
            <InsertParameters>
                <asp:QueryStringParameter Name="app_name" QueryStringField="app_name" Type="String" />
                <asp:QueryStringParameter Name="app_message" QueryStringField="app_message" Type="String" />
                <asp:QueryStringParameter Name="app_status" QueryStringField="app_status" Type="String" />
                <asp:QueryStringParameter Name="app_status_code" QueryStringField="app_status_code" Type="String" />
                <asp:QueryStringParameter Name="return_" QueryStringField="return" Type="String" />
                <asp:SessionParameter Name="timestamp" SessionField="timestamp" Type="String" />
            </InsertParameters>
            <UpdateParameters>
                <asp:Parameter Name="app_name" Type="String" />
                <asp:Parameter Name="app_message" Type="String" />
                <asp:Parameter Name="app_status" Type="String" />
                <asp:Parameter Name="app_status_code" Type="String" />
                <asp:Parameter Name="return_" Type="String" />
                <asp:Parameter Name="timestamp" Type="String" />
                <asp:Parameter Name="logID" Type="Int64" />
            </UpdateParameters>
        </asp:SqlDataSource>
    </form>
</body>
</html>
